let str = 'hello123';
let regexp = /[a-z]+(\d+)/;
let result = regexp.exec(str);
console.log(result);
//[ 'hello123', '123']
//[ 'hello123', index: 0]